/**
 * Woerter_DE.h
 * Definition der deutschen Woerter fuer die Zeitansage.
 * Die Woerter sind Bitmasken fuer die Matrix.
 *
 * @mc       Arduino/RBBB
 * @autor    Christian Aschoff / caschoff _AT_ mac _DOT_ com
 * @version  1.0
 * @created  18.3.2012
 */
#ifndef WOERTER_DE_H
#define WOERTER_DE_H

/**
 * Definition der Woerter
 */
#ifdef USE_SINGLECONTROL_WORDS
  #define VOR                  matrix[0] |= 0x20000000
  #define NACH                 matrix[0] |= 0x40000000
  #define ESIST                matrix[0] |= 0x01000000
  #define UHR                  matrix[0] |= 0x00002000
	
  #define FUENF		           matrix[0] |= 0x02000000
  #define ZEHN		           matrix[0] |= 0x04000000
  #define VIERTEL	           matrix[0] |= 0x10000000
  #define ZWANZIG	           matrix[0] |= 0x08000000
  #define HALB		           matrix[0] |= 0x80000000
  #define DREIVIERTEL	       matrix[0] |= 0x10100000
	
  #define H_EIN		           matrix[0] |= 0x00020000
  #define H_EINS	           matrix[0] |= 0x00060000
  #define H_ZWEI	           matrix[0] |= 0x00080000
  #define H_DREI	           matrix[0] |= 0x00100000
  #define H_VIER	           matrix[0] |= 0x00200000
  #define H_FUENF	           matrix[0] |= 0x00010008
  #define H_SECHS	           matrix[0] |= 0x00400000
  #define H_SIEBEN	           matrix[0] |= 0x00000100
  #define H_ACHT	           matrix[0] |= 0x00800000
  #define H_NEUN	           matrix[0] |= 0x00001800
  #define H_ZEHN	           matrix[0] |= 0x00000C00
  #define H_ELF		           matrix[0] |= 0x0000000C
  #define H_ZWOELF	           matrix[0] |= 0x00000200
  #define C_MIN1	           matrix[0] |= 0x00004000
  #define C_MIN2	           matrix[0] |= 0x00008000
  #define C_MIN3	           matrix[0] |= 0x00000001
  #define C_MIN4	           matrix[0] |= 0x00000002

#else
	#define VOR          matrix[3] |= 0b1110000000000000
	#define NACH         matrix[3] |= 0b0000000111100000
	#define ESIST        matrix[0] |= 0b1101110000000000
	#define UHR          matrix[9] |= 0b0000000011100000

	#define FUENF        matrix[0] |= 0b0000000111100000
	#define ZEHN         matrix[1] |= 0b1111000000000000
	#define VIERTEL      matrix[2] |= 0b0000111111100000
	#define ZWANZIG      matrix[1] |= 0b0000111111100000
	#define HALB         matrix[4] |= 0b1111000000000000
	#define DREIVIERTEL  matrix[2] |= 0b1111111111100000

	#define H_EIN        matrix[5] |= 0b1110000000000000
	#define H_EINS       matrix[5] |= 0b1111000000000000
	#define H_ZWEI       matrix[5] |= 0b0000000111100000
	#define H_DREI       matrix[6] |= 0b1111000000000000
	#define H_VIER       matrix[6] |= 0b0000000111100000
	#define H_FUENF      matrix[4] |= 0b0000000111100000
	#define H_SECHS      matrix[7] |= 0b1111100000000000
	#define H_SIEBEN     matrix[8] |= 0b1111110000000000
	#define H_ACHT       matrix[7] |= 0b0000000111100000
	#define H_NEUN       matrix[9] |= 0b0001111000000000
	#define H_ZEHN       matrix[9] |= 0b1111000000000000
	#define H_ELF        matrix[4] |= 0b0000011100000000
	#define H_ZWOELF     matrix[8] |= 0b0000001111100000
#endif


#endif

